﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <title>ccform正在加载请稍候...</title>
    <link href="../Scripts/easyUI145/themes/default/easyui.css" rel="stylesheet" />
    <link href="../Scripts/bootstrap/bootstrap-table/src/bootstrap-table.css" rel="stylesheet" />
    <script src="../Scripts/jquery-1.11.0.min.js" type="text/javascript"></script>
    <script src="../Comm/JScript.js" type="text/javascript"></script>
    <script src="../Scripts/config.js" type="text/javascript"></script>
    <script src="../Comm/Gener.js" type="text/javascript"></script>
    <script src="../Scripts/QueryString.js" type="text/javascript"></script>


    <script type="text/javascript" src="../Scripts/bootstrap/js/bootstrap.min.js"></script>
    <script src="../Scripts/easyUI145/jquery.easyui.min.js" type="text/javascript"></script>
    <script src="../Scripts/bootstrap/BootstrapUIDialog.js" type="text/javascript"></script>
    <script src="../Scripts/bootstrap/bootstrap-table/src/bootstrap-table.js"></script>
    <script src="../../DataUser/SFTable.js" type="text/javascript"></script>

    <!-- 重要的表单3文件. -->
    <script type="text/javascript" src="FrmFool.js"></script>
    <script type="text/javascript" src="FrmFree.js"></script>
    <script type="text/javascript" src="FrmDevelop.js"></script>

    <!-- 引入公共的frm加载以后的业务逻辑处理.-->
    <script src="FrmEnd.js" type="text/javascript"></script>
    <!-- 引入用户要重写的公共js -->
    <script src="../../DataUser/JSLibData/CCFormRef.js" type="text/javascript"></script>
    <!-- 表单组件 -->
    <script src="./JS/MultipleChoiceSearch.js" type="text/javascript"></script>
    <script src="./JS/MultipleChoiceSmall.js" type="text/javascript"></script>
    <script src="JS/comboTreePlugin.js" type="text/javascript"></script>
    <link href="JS/comboTreePlugin.css" rel="stylesheet" />
    <script src="./JS/Pop.js" type="text/javascript"></script>
    <link href="./JS/mselector.css" rel="stylesheet" type="text/css" />
    <script src="./JS/mselector.js" type="text/javascript"></script>
    <script src="./JS/mtags.js" type="text/javascript"></script>
    <script type="text/javascript" src="MapExt2019.js"></script>

    <link href="../Scripts/bootstrap/css/font-awesome.css" rel="stylesheet" type="text/css" />
    <link href="../Scripts/bootstrap/css/css.css" type="text/css" rel="stylesheet" media="all" />
    <link href="../Scripts/bootstrap/css/bootstrap.css" rel="Stylesheet" />

    <!-- 该文件可以被集成厂商自己定义风格,可以自己修改,以达到流程设计器与自己的系统风格统一. -->
    <link href="../../DataUser/Style/ccbpm.css" rel="Stylesheet" />
    <link href="../../DataUser/Style/CCFormFrm.css" rel="Stylesheet" />

    <!--时间-->
    <script src="../Comm/JS/Calendar/WdatePicker.js" type="text/javascript"></script>
    <link href="../Comm/JS/Calendar/skin/WdatePicker.css" rel="stylesheet" type="text/css" />
    <script src="../../DataUser/JSLibData/CommonShowConfig.js"></script>

    <style type="text/css">
        h1 {
            font-family: "微软雅黑";
            font-weight: normal;
        }

        td {
            border-right-style: none;
            border-left-style: none;
            border-style: solid;
            padding: 4px;
            text-align: left;
            color: #333333;
            font-size: 12px;
            border-color: lightgrey;
        }

        .combo {
            border-color: #d4d4d4;
            background-color: #ffffff;
            height: 22px;
        }

        .combo-arrow {
            background-color: #E0ECFF;
        }

        .textbox-text {
            border: none !important;
            outline: none !important;
            height: 28px !important;
        }

        .combo-arrow {
            height: 28px !important;
        }

        .textbox-addon-right {
            float: right;
        }
    </style>
    <style type="text/css">
        body {
            padding: 0px;
            margin: 0px;
        }

        .errorInput {
            border: 1px red solid !important;
        }

        li.scrollNav.active a {
            background: url(Scripts/bootstrap/css/img/back.png) no-repeat;
        }


        body iframe {
            border: none;
        }

        #header > b, .returnTackHeader b {
            width: 25px;
            height: 25px;
            border-radius: 50%;
            background: #fff;
            margin: 12px;
            float: left;
            text-align: center;
            color: rgb(192, 193, 204);
            line-height: 25px;
        }

        #topContentDiv i.topContentDiv-i {
            display: block;
            width: 33px;
            height: 22px;
            background-size: 80%;
            position: absolute;
            top: 56px;
            left: 50px;
            margin-left: auto !important;
            margin-right: auto !important;
        }

        #divCurrentForm {
            float: none;
            width: auto;
        }

        input[type=text], select, textarea, iframe[src*="AttachmentUpload.aspx"] {
            margin: 4px 0px !important;
        }
    </style>
    <style type="text/css">
        div.richText {
            min-height: 40px;
            border: 1px solid #d4d4d4;
            cursor: text;
            padding: 0 10px 0;
            overflow: auto;
            word-wrap: break-word;
            box-shadow: 2px 2px 5px #d3d6da;
            background-color: #fff;
        }

        input.align_cb {
            padding-left: 4px;
            cursor: pointer;
            margin: 0;
            vertical-align: middle;
        }

        label.align_cbl {
            display: inline-block;
            vertical-align: middle;
            margin-bottom: 2px;
        }

        #topContentDiv {
            background: #fff;
            border-radius: 5px;
            padding: 8px 0px 0px 0px;
            margin: 8px 15px 15px 15px;
            border: #EFEFEF 1px solid;
            overflow: hidden;
        }
    </style>
    <!--JS 加载-->
    <script type="text/javascript">
        loadScript("../ccbpm.js?Version=" + Math.random(), function () {
            loadScript("./FrmGener.js?Version=" + Math.random());

        });
        function setContentHeight() {
            var bodyHeight = $("body").height();
            var bottomHeight = $("#bottomToolBar").height(); // save button
            if (($("#Btn").css("display") || "") != "block") {
                bottomHeight = 0;
            }
            bottomHeight = 0; // tmp
            var height = bodyHeight - bottomHeight;
            $("#divCurrentForm").height(height);
            $("#topContentDiv").height(height - 45);
            $("#contentDiv").height(height - 50);
            $("#divCCForm").height(height - 50);
        }
        $(function () {
            $("#CCForm").css("height", "auto");
            $(window).bind("resize", function () {
                setTimeout(setContentHeight, 100);
            });
        });

    </script>
</head>
<body onclick="hiddenDiv()">

    <div id="divCurrentForm" style="background: #E3E7F4; position: relative;">
        <!--底部功能按钮 发送、移交-->
        <div style="WIDTH:100%;background:#fff; padding:10px 0px 0px; margin-bottom:10px">
            <div id="topToolBar" style="padding: 3px 3px; margin: 0px auto; text-align: left;" class="Bar">
            </div>
        </div>
        <!--上半部分表单-->
        <div id="topContentDiv" class="row" style="padding: 20px 5px; margin: 0px auto;">
            <i class="topContentDiv-i" style="display: none;"></i>
            <div id="contentDiv">
                <form id="divCCForm" method="post">
                    <div id="CCForm" style="">
                        <br />
                        <img src='./../Img/loading.gif' />正在初始化表单模板及数据，请耐心等待。。。
                        <br />
                        <br />
                    </div>
                    <!--DIVINFO-->
                    <div id='divinfo' style='width: 155px; position: absolute; display: none; cursor: pointer;
                    align: left; border-left: 1px solid #336699; border-top: 1px solid #336699; border-right: 1px solid #336699;'>
                    </div>
                </form>
            </div>
        </div>
    </div>


    <!-- /.modal -->
    <div id="Btn" style="display:none">
        <input type="button" value="Save" id="Btn_Save" onclick="Save()" />
    </div>

    <!--图片附件显示大图-->
    <div id="outerdiv" style="position:fixed;top:0;left:0;background:rgba(0,0,0,0.7);z-index:2;width:100%;height:100%;display:none;">
        <div id="innerdiv" style="position:absolute;">
            <img id="bigimg" style="border:5px solid #fff;" src="" />
        </div>
    </div>
</body>
</html>
